#pragma once
#include "CDOCollection.h"


class CGradientStop;

class CGradientStopCollection :
	public CDOCollection
{

private: 
	CGradientStopCollection(CCoreServices * pCore);
public: 
	static HRESULT Create(CDependencyObject * * ppObject, CREATEPARAMETERS * pCreate);
	virtual XUINT32 GetTypeIndex() const;
	HRESULT Clone(CGradientStopCollection * * ppClone);
	virtual HRESULT Append(CDependencyObject * pObject, XUINT32 * pnIndex);
	virtual HRESULT Append(CValue & pObject, XUINT32 * pnIndex);
	virtual HRESULT Insert(XUINT32 nIndex, CValue & value);
	virtual void * RemoveAt(XUINT32 nIndex);
	virtual HRESULT Clear();
	static HRESULT CreateFromArray(struct XcpGradientStop * * ppGradientStopsTarget, XUINT32 nCount, const CGradientStop * * ppGradientStops);



};